package com.pktechan.manage.base.annotation;

import com.pktechan.manage.enumeration.ModelTypeEnum;
import com.pktechan.manage.enumeration.OperateLogTypeEnum;

import java.lang.annotation.*;

/**
 * <br>
 * <b>功能：</b>记录当前用户的操作<br>
 * <b>作者：</b>Wang Jiahao<br>
 * <b>日期：</b> Nov 9, 2014 <br>
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
@Inherited
public @interface RecordOperateLog {



    /**
     * 模型的类型
     *
     * @return
     */
    public ModelTypeEnum modelType();

    /**
     * 操作的类型
     *
     * @return
     */
    public OperateLogTypeEnum operateType();


}
